package com.cn.api.util;

/**
 * 常量类
 * 
 * @author zhangliang
 *
 */
public class Const {

	// “全部”的id为0
	public static final Integer ALL_ID = 0;
	// “全部”的名称为全部
	public static final String ALL_NAME = "全部";
	// “全部”的sort顺为0
	public static final Integer ALL_SORT = 0;

	// del_flag为1，数据有效
	public static final Integer DEL_FLAG_ON = 1;

	// del_flag为0，数据无效
	public static final Integer DEL_FLAG_OFF = 0;

	// 标志位
	public static final Integer FALSE = 0;
	public static final Integer TRUE = 1;

	// 用户类型:1:系统管理员
	public static final Integer USER_TYPE_ADMIN = 1;
	// 用户类型:2:区域负责人
	public static final Integer USER_TYPE_AREA_MANAGER = 2;
	// 用户类型:3：业务员
	public static final Integer USER_TYPE_USER = 3;
	// BANNER类型
	public static final Integer BANNER_TYPE_NO = 0;
	public static final Integer BANNER_TYPE_URL = 1;
	public static final Integer BANNER_TYPE_COOKBOOKID = 2;
	// cookbookStep开始
	public static final Integer FIRSTCOOKBOOKSORT = 1;
	// 上传视屏最大100M
	public static final Integer MAXVIDEO = 1024 * 1024 * 100;
	// 管理员用户名密码
	public static final String USERNAME = "admin";
	public static final String PASSWORD = "123456";
}
